Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: expand platform support in pixi and CI/CD workflow #91

Merged
merged 2 commits into from
Dec 16, 2024

Conversation

jjjermiah
Copy link
Contributor

@jjjermiah jjjermiah commented Dec 16, 2024

This PR adds the windows platform and older mac platform to the pixi configuration so developers with those machines can be assured that they can contribute to this project without running into dependency issues

  • also add a testing branch to test with windows across all configured python versions

Summary by CodeRabbit

  • New Features

    • Expanded testing environment to include Windows support.
    • Updated project version to "1.25.0".
    • Added support for additional platforms: "osx-64" and "win-64".
  • Bug Fixes

    • Clarified the checkout process for the publishing jobs in the CI-CD workflow.

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 0

🧹 Nitpick comments (1)
.github/workflows/ci-cd.yml (1)

Line range hint 186-257: Consider enabling TestPyPI deployment pipeline

The commented-out sections for TestPyPI deployment and installation testing provide a valuable safety net for verifying releases before production deployment. This is especially important with the expanded platform support to catch potential platform-specific issues early.

Would you like me to help set up a separate workflow file for TestPyPI deployments that can be manually triggered?

📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between c073262 and ccbef0a.

⛔ Files ignored due to path filters (1)
  • pixi.lock is excluded by !**/*.lock
📒 Files selected for processing (2)
  • .github/workflows/ci-cd.yml (1 hunks)
  • pyproject.toml (1 hunks)
🔇 Additional comments (3)
pyproject.toml (1)

34-34: LGTM! Platform expansion aligns with CI workflow changes

The addition of "osx-64" and "win-64" platforms matches the expanded CI testing matrix that now includes Windows support.

.github/workflows/ci-cd.yml (2)

19-19: LGTM! OS matrix expansion matches platform support

The addition of windows-latest to the test matrix properly aligns with the expanded platform support in pyproject.toml.


Line range hint 14-14: Consider increasing timeout for Windows builds

The current 15-minute timeout might be insufficient for Windows builds, which typically take longer than Linux/macOS. Consider increasing the timeout specifically for Windows runs.

Let's analyze historical build times:

Consider using job-specific timeouts:

  Unit-Tests:
    runs-on: ${{ matrix.os }}
-   timeout-minutes: 15 # Consider increasing timeout
+   timeout-minutes: ${{ matrix.os == 'windows-latest' && 30 || 15 }}

@bhklab bhklab deleted a comment from coderabbitai bot Dec 16, 2024
Copy link

codecov bot commented Dec 16, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 42.16%. Comparing base (81fbd78) to head (a230b48).
Report is 7 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #91      +/-   ##
==========================================
- Coverage   49.04%   42.16%   -6.88%     
==========================================
  Files          25       28       +3     
  Lines         991     1174     +183     
==========================================
+ Hits          486      495       +9     
- Misses        505      679     +174     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@jjjermiah jjjermiah self-assigned this Dec 16, 2024
@jjjermiah jjjermiah requested a review from strixy16 December 16, 2024 16:57
@strixy16 strixy16 merged commit 546fe5c into main Dec 16, 2024
19 of 20 checks passed
@strixy16 strixy16 deleted the jjjermiah/pixi-add-platforms branch December 16, 2024 17:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants